﻿using System.Data.Linq.Mapping;

namespace vurfu.DataContracts.Graphs
{
    [Table(Name = "dbo.EventGroupGraph")]
    public class EventGroupEdge
    {
        [Column(Name = "Id", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true)]
        public string Id { get; set; }

        [Column(Name = "EventId", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string EventId { get; set; }

        [Column(Name = "GroupId", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string GroupId { get; set; }
    }
}